/*
 * Diego Zamboni Latance 			344990
 * Fellipe Augusto Ruiz de Souza 	344796
 * 
 */
package ast;

public class WriteCommand extends Statement {

	public WriteCommand(ExprList exprList) {
		this.exprList = exprList;
	}

	@Override
	public void genC(PW pw) {
		// empty
	}

	@Override
	public void genKrakatoa(PW pw) {
		pw.printIdent("write(");
		exprList.genKrakatoa(pw);
		pw.print(");\n");
	}

	private ExprList exprList;

}
